class Solution {
    public int[] printNumbers(int n) {
        int count = ((int)Math.pow(10,n)) - 1;
        int[] ret = new int[count];
        for(int i = 0; i< count; i++) {
            ret[i] = i + 1;
        }
        return ret;
    }
}
